﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Server
{
    class ServerMessage
    {
        public const byte START = 1;
	    public const byte NEXT = 2;
        public const byte PREVIOUS = 3;
        public const byte CLOSE = 4;

        public const byte HEAD_SHOWBEGIN = 11;
        public const byte HEAD_SHOWING = 12;
        public const byte HEAD_SHOWEND = 13;
	
	    public byte behest = 0; 
        public byte[] information;
	
	    public ServerMessage(byte behest)
	    {
	    	this.behest = behest;
	    }

        public ServerMessage(byte head, byte content)
        {
            information = new byte[2];
            information[0] = head;
            information[1] = content;
        }
    }
}
